package com.blog.dao;

import com.blog.pojo.MLogin;
import com.blog.pojo.MLoginExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MLoginMapper {
    int countByExample(MLoginExample example);

    int deleteByExample(MLoginExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MLogin record);

    int insertSelective(MLogin record);

    List<MLogin> selectByExample(MLoginExample example);

    MLogin selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MLogin record, @Param("example") MLoginExample example);

    int updateByExample(@Param("record") MLogin record, @Param("example") MLoginExample example);

    int updateByPrimaryKeySelective(MLogin record);

    int updateByPrimaryKey(MLogin record);
     
    MLogin selectByNameAndPass(@Param("name") String name,@Param("password") String password);
}